#ifndef __STRING_H
#define __STRING_H

#include "types.h"

char* strcpy(char* dest, const char* src);
char* strncpy(char* dest, const char* src, size_t count);
char* strcat(char* dest, const char* src);
size_t strlen(const char* str);
size_t strnlen(const char* str, size_t maxlen);
int strcmp(const char* lhs, const char* rhs);
char* strchr(const char* str, int ch);
char* strrchr(const char* str, int ch);
char* strsep(const char* str);
char* strrsep(const char* str);

int memcmp(const void* lhs, const void* rhs, size_t count);
void* memset(void* dest, int ch, size_t count);
void* memcpy(void* dest, const void* src, size_t count);
void* memchr(const void* ptr, int ch, size_t count);

#endif